package com.hongdee.insurance.car.service;

import com.hongdee.insurance.car.entity.TCrmCarWarningConf;

import java.util.Map;

/**
 * Created by My on 2017/6/7.
 */
public interface ITCrmCarWarningConfService {

    /**
     * 保存车辆预警信息
     * @param carWarningConf
     * @param uid
     */
    public void saveCarWarningConf(TCrmCarWarningConf carWarningConf,String uid) throws Exception;

    /**
     * 编辑车辆预警信息
     * @param carWarningConf
     * @param uid
     * @throws Exception
     */
    public void updCarWarningConf(TCrmCarWarningConf carWarningConf, String uid) throws Exception;

    /**
     * 获得车辆预警信息
     * @param carWarningConf
     */
    public Map getCarWarningConf(TCrmCarWarningConf carWarningConf) throws Exception;

    /**
     * 分页查询车辆预警信息
     * @param data
     * @param uid
     * @return
     * @throws Exception
     */
    public Map page(Map data, String uid, String start, String limit)throws Exception;

    /**
     * 查询预警信息详情
     * @param id
     * @return
     * @throws Exception
     */
    public Map info(String id) throws Exception;

    /**
     * 获得车辆预警值
     * @param brand
     * @param series
     * @param model
     * @param configure
     * @return
     * @throws Exception
     */
    public Map getWarningInfo(String brand,String series,String model,String configure) throws Exception;
}


